package com.ruoyi.topic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习主题，学习板块对象 tb_topic
 * 
 * @author 劳雅玲
 * @date 2024-03-01
 */
public class TbTopic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 主题id */
    @Excel(name = "主题id")
    private String topicId;

    /** 主题名称 */
    @Excel(name = "主题名称")
    private String topicName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTopicId(String topicId) 
    {
        this.topicId = topicId;
    }

    public String getTopicId() 
    {
        return topicId;
    }
    public void setTopicName(String topicName) 
    {
        this.topicName = topicName;
    }

    public String getTopicName() 
    {
        return topicName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("topicId", getTopicId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("topicName", getTopicName())
            .toString();
    }
}
